<div class="accordion" fillSpace="sidebar">
	<div class="accordionHeader">
		<h2><i class="icon-plug icon-large"></i>监控插件<i class="icon icon-chevron-up"></i></h2>
	</div>
	<div class="accordionContent">
		<ul class="tree">
			<li><a href="<?cs var:config.cgipath?>mt_slog?action=open_plugin" target="navTab" rel="dmt_plugin_open"><i class='icon-plug'></i>插件市场</a></li>
		</ul>
	</div>

    <?cs if:ShowPlugin.table_count > 0 ?>
	<div class="accordionHeader">
		<h2><i class="icon-table icon-large"></i>插件实时表格<i class="icon icon-chevron-up"></i></h2>
	</div>
	<div class="accordionContent">
		<ul class="tree">
            <?cs each:show=ShowPlugin.lists ?> 
                <?cs if:show.table == 1 ?>
			    <li><a title='<?cs var:show.name ?>-表格' href="<?cs var:config.cgipath?>mt_slog?action=plugin_show_tables&plugin=<?cs var:show.plugin_id ?>" target="navTab" rel="dmt_pshow_realtime_table_<?cs var:show.plugin_id ?>"><i class="icon-table"></i><?cs var:show.name ?></a></li>
                <?cs /if ?>
            <?cs /each ?>
		</ul>
	</div>
    <?cs /if ?>

    <?cs if:ShowPlugin.count >= 1 ?>
	<div class="accordionHeader">
		<h2><i class="icon-area-chart icon-large"></i>插件图表<i class="icon icon-chevron-up"></i></h2>
	</div>
	<div class="accordionContent">
		<ul class="tree">
            <?cs each:show=ShowPlugin.lists ?> 
                <?cs if:show.cust == 1 ?>
			    <li><a title='<?cs var:show.name ?>' href="<?cs var:config.cgipath?>mt_slog?action=show_plugin_monitor&plugin_id=<?cs var:show.plugin_id ?>" target="navTab" fresh="true" rel="showplugin_<?cs var:show.plugin_id ?>"><i class="icon-puzzle-piece"></i><?cs var:show.name ?></a></li>
                <?cs else ?>
			    <li><a title='<?cs var:show.name ?>' href="<?cs var:config.cgipath?>mt_slog?action=plugin_view_list&plugin_id=<?cs var:show.plugin_id ?>" target="navTab" fresh="true" rel="pluginview_<?cs var:show.plugin_id ?>"><i class="icon-bar-chart"></i><?cs var:show.name ?></a></li>
                <?cs /if ?>
            <?cs /each ?>
		</ul>
	</div>
    <?cs /if ?>

</div>

